--[[
    NuckPluck - An android game for learning the Thai alphabet
    Copyright (C) 2013 Nathan Kieffer

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

    Contact: nathankieffer@gmail.com
--]]

local Levels = 
   {
      {
	 map=[[
 ########## 
##        ##
#          #
#          #
#       ^^ #
#    ##....#
#    ##    ##
#    #      #
#    #      #
#           #
##         ##
 ########### 
]],
	 timeLimit = 20,
	 start = { x=2, y=2 },
	 data = {
	    {char="ก", start={x=6,y=3}, goal={x=6,y=7}, speed=1},
	 },
	 enemies = {
	    { type="green", 
	      max=2, 
	      prob=0.99, 
	      speed=1, 
	      start={
		 {x=8,y=1},
		 {x=8,y=8},
	      } 
	    }
	 }
      },
      {
	 map=[[
############
#    ##    #
#    ##    #
#          #
#          #
#.   ..   .#
#.   ..   .#
#          #
#          #
#    ##    #
#    ##    #
############
]],
	 timeLimit = 20,
	 start = { x=4, y=4 },
	 data = {
	    {char="ก", start={x=9,y=2}, goal={x=2,y=9}},
	    {char="ข", start={x=2,y=2}, goal={x=9,y=9}},
	 },
	 enemies = {
	    { type="green", 
	      max=2, 
	      prob=0.99, 
	      speed=2, 
	      start={
		 {x=8,y=1}  
	      }
	    }
	 },
      },
      {
	 map=[[
............
.    .     .
.    .     .
.    .     .
.    .     .
.    .     .
.    .     .
.    #     .
.    #     .
.          .
.          .
 ##########

]],
	 timeLimit = 20,
	 start = { x=5, y=10 },
	 data = {
	    {char="ข", start={x=9,y=2}, goal={x=2,y=9}},
	    {char="จ", start={x=2,y=2}, goal={x=9,y=9}},
	 },
	 enemies = {
	    { 
	       type="green", 
	       max=2, 
	       prob=0.99,
	       speed=3, 
	       start= {
		  {x=8,y=1},
		  {x=8,y=8}  
	       }
	    }
	 }
      },
      {
	 map=[[
########################
.    ..    ##    ..    .
.                      .
.                      .
.                      .
..   ##    ..    ##   ..
..   ##    ..    ##   ..
.                      .
.                      .
.                      .
.    ..    ##    ..    .
########################
]],
	 timeLimit = 20,
	 start = { x=11, y=4 },
	 data = {
	    {char="ก", start={x=20,y=3}, goal={x=2,y=9}},
	    {char="ข", start={x=10,y=3}, goal={x=9,y=9}},
	    {char="จ", start={x=2,y=3}, goal={x=20,y=9}},
	 },
	 enemies = {
	    { type="green", 
	      max=8, 
	      prob=0.9,
	      speed=3,
	      start= {
		 {x=8,y=1},
		 {x=16,y=1},
		 {x=1,y=8},
		 {x=16, y=8}
		 
	      }
	    }
	 }
      }
   }



return Levels
